package com.zenithsun.common.basicdata.model;

/**
 * Basicdata entity. @author MyEclipse Persistence Tools
 */

public class Basicdata implements java.io.Serializable {

	// Fields

	private String id;
	private String code;
	private String comment;
	private String parentId;
	private String remark;
	private Short defaultFlag;
	private String type;

	// Constructors

	/** default constructor */
	public Basicdata() {
	}

	/** minimal constructor */
	public Basicdata(String code, String comment, String parentId, String type) {
		this.code = code;
		this.comment = comment;
		this.parentId = parentId;
		this.type = type;
	}

	/** full constructor */
	public Basicdata(String code, String comment, String parentId,
			String remark, Short defaultFlag, String type) {
		this.code = code;
		this.comment = comment;
		this.parentId = parentId;
		this.remark = remark;
		this.defaultFlag = defaultFlag;
		this.type = type;
	}

	// Property accessors

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCode() {
		return this.code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getComment() {
		return this.comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public String getParentId() {
		return this.parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Short getDefaultFlag() {
		return this.defaultFlag;
	}

	public void setDefaultFlag(Short defaultFlag) {
		this.defaultFlag = defaultFlag;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

}